package com.example.demo.mongodb;

import org.springframework.context.annotation.Configuration;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @ClassName SysUserRepository
 * @Description:
 * @Author liyunjiang
 * @Date 2020/5/17 15:56
 */
@Configuration
public interface SysUserRepository extends MongoRepository<SysUser, String> {

    SysUser findById(int id);
}
